<template>
  <view class="page">
    <web-view :src="$data.src" />
  </view>
</template>

<script setup>
import { getCurrentInstance, reactive, ref, nextTick } from "vue";
import { onLoad } from "@dcloudio/uni-app";

const $data = reactive({
  src: "",
});
onLoad((options) => {
  $data.src = options.src;
  console.log("webview", options, $data.src);
});
</script>

<style lang="scss" scoped>
.page {
  //   background: #f4f8fb;
  //   width: 100vw;
  //   min-height: 100vh;
}
</style>
